cmake_minimum_required(VERSION 3.8)
project(pb2025_sentry_nav)

find_package(ament_cmake_auto REQUIRED)

# Install Python scripts
install(PROGRAMS
  scripts/altitude_controller.py
  scripts/auto_flight_mission.py
  scripts/manual_flight_control.py
  scripts/test_altitude.py
  scripts/simple_z_velocity_controller.py
  scripts/set_altitude.py
  DESTINATION lib/${PROJECT_NAME}
)

# Install launch files
install(DIRECTORY
  launch/
  DESTINATION share/${PROJECT_NAME}/launch
)

if(BUILD_TESTING)
  find_package(ament_lint_auto REQUIRED)
  set(ament_cmake_copyright_FOUND TRUE)
  ament_lint_auto_find_test_dependencies()
endif()

ament_auto_package()
